package com.lc.fbtp.draftmsg.core;

import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RestController;

import com.lc.fbtp.draftmsg.api.IMessageSender;
import com.lc.fbtp.draftmsg.api.paper.DraftInfo;
import com.lc.fbtp.draftmsg.api.paper.MsgId;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@RestController
@Api(tags="报文发送")
public class MessageSenderImpl implements IMessageSender {

	@ApiOperation(httpMethod = "GET", value = "报文发送", produces = MediaType.APPLICATION_JSON_VALUE)
	@Override
	public MsgId send(DraftInfo draftInfo) {
		System.out.println("abc");
		MsgId msgId = new MsgId();
		msgId.setId("123456");
		return msgId;
	}
	
}
